import yagmail

def email():
    mail = yagmail.SMTP(user='3409851406@qq.com',password='uyziigxnldbpdbga',host='smtp.qq.com')
    mail.send(to='3409851406@qq.com',subject='zl测试',contents=["a3mall.html","a3mall.log"])